﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MapleLeaf.Pay.Pay {
    public abstract class HongshPayClientPlugin {

        public HongshPayClientContext Context { get; }


        public string Name => GetType().Assembly.GetName().Name;


        public string Version => GetType().Assembly.GetName().Version.ToString();


        public HongshPayClientPlugin(HongshPayClientContext ctx) {
            Context = ctx;
        }


        public abstract HongshPayClientPluginConfig Config { get; }


        public abstract object View { get; }


        public abstract void Start();

        public abstract void Stop();
    }
}
